<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%@ include file="IsProff.jsp"%>
<%@ include file="..\master\head.jsp"%>
</head>
<body>
<div id="container">
<div id="wrapper">
<div id="sidebar">
<div id="sb_top"><%@ include file="..\master\sbTop.jsp"%>
</div>

<div class="sb_content"><!--##########--> <!-- Start Menu --> <%@ include
	file="..\master\Profmenu.jsp"%> <!-- Profile -->
<%@ include file="..\master\profile.jsp"%> <!-- links -->
<%@ include file="..\master\links.jsp"%>
<div class="copyright"><%@ include file="..\master\copyright.jsp"%>
</div>
</div>
<!-- /sb_content --></div>
<!-- /sidebar --> <!-- Top -->
<div id="header"><%@ include file="..\master\header.jsp"%>
</div>


<!-- Start main content -->
<div id="content">
<div id="intro">
<div class="intro_t">
<h1><span>..</span>Welcome to<span>..</span></h1>
<h2>student project management system</h2>

</div>
</div>
<!-- /intro -->
<%=request.getParameter("wrong") == null ? "" :"<h2 class='wrong'>There are wrongs in input</h2>"%>
<h1>New Project</h1>
<%@ page import="java.sql.*,database.*" %>
<%
DBCon db = new DBCon();
String control = db.getControlValue("project_add");
            
if(control.equals("true"))
{
%>
<form action="../DB/ProjectInsert.jsp" method="post">
<h3>Title:</h3>
<input type="text" name="title" size=62/><br />
<h3>Description:</h3>
<textarea rows="4" cols="60" name="descr"></textarea>
<h3>Project Objectives:</h3>
<textarea rows="4" cols="60" name="obj"></textarea>
<h3>Required Background:</h3>
<textarea rows="4" cols="60" type="text" size=40 name="req" ></textarea><br />
<h3>Tools Needed:</h3>
<textarea rows="4" cols="60" type="text" size=40 name="tools" ></textarea><br />
<h3>Difficulty Level:</h3>
<select name="diff">
	<option value="easy">Easy</option>
	<option value="medium">Medium</option>
	<option value="Difficult">Difficult</option>
</select>
<h3>Project Type:</h3>
<textarea rows="3" cols="60" type="text" size=40 name="type" ></textarea><br />
<h3>Project Keywords:</h3>
<textarea rows="3" cols="60" type="text" size=40 name="keywords" ></textarea><br />
<h3>Expected Results:</h3>
<textarea rows="3" cols="60" type="text" size=40 name="results" ></textarea><br />
<h3>Additional Comments:</h3>
<textarea rows="4" cols="60" name="comments"></textarea><br />
<input type="submit" name="sub" value="Submit"/><input type="submit" name="sav" value="Save Draft"/>
</form>

<%}else{%>
<br/><br/><center><h2> This service is not availabe now </h2></center>
<%}%>
</div>
<!-- /content --></div>
<!-- /wrapper -->
<div class="clear">&nbsp;</div>
<!-- Important! Fix the problem of height in Firefox --></div>
<!-- /Container -->


</body>
</html>